﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
/// <summary>
/// 配置攻击信息
/// </summary>
[CreateAssetMenu(fileName = "CharacterInfo", menuName = "ScriptableObjects/AttackInfo")]
public class AttackInfo : ScriptableObject
{
    public int ID;
    /// <summary>
    /// 攻击逻辑组件名字
    /// </summary>
    public string attackLogicName;
    /// <summary>
    /// 攻击使用的动画控制器
    /// </summary>
    public RuntimeAnimatorController animator;
    /// <summary>
    /// 攻击使用的动画名字
    /// </summary>
    public string animatClipName;
    /// <summary>
    /// 触发攻击动画的触发器名字
    /// </summary>
    public string animatTriggetName;
    /// <summary>
    /// 攻击力
    /// </summary>
    public float aggressivity;
    /// <summary>
    /// 攻击特效
    /// </summary>
    public GameObject effect;
}
